#include <iostream>
#include <cstdlib>
#include <ctime>

using namespace std;

int main()
{
    int n, k, x, y;
    srand (time(0));
    cin>>n;
    if(n<0) cout<<"Nekorrektno";
k=0;
for (int i=0; i<n;i++)
  {
    x=rand()%201-100;
    y=rand()%201-100;
    if((x<=5)&&(x>=-7)&&(y<=5)&&(y>=-8))
        k=k+1;
  }
cout<<"Kol-vo shot "<<n<<endl;
cout<<"Kol-vo popadaniy "<<k;
    return 0;
}
